package com.wdc.application;


import lombok.extern.slf4j.Slf4j;

@Slf4j
public class Compute {
    public static void main(String[] args) throws InterruptedException {
        //没用并行

        //计算 1
        log.info("计算 1");
        Thread.sleep(10);

        //计算 2
        log.info("计算 2");
        Thread.sleep(11);

        //计算 3
        log.info("计算 3");
        Thread.sleep(9);

        System.out.println("结果");



    }
}
